]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: darken sliders to match gtk
authorJakub Steiner <jimmac@gmail.com>
Wed, 26 Jun 2019 10:34:42 +0000 (12:34 +0200)
committerJakub Steiner <jimmac@gmail.com>
Wed, 26 Jun 2019 10:34:42 +0000 (12:34 +0200)
- match gtk a bit more closely, but avoid the gradients (change will
  happen on gtk side for this one).

data/theme/gnome-shell-sass/_common.scss

index e400142653cbab86fb3517b643d12d63f23fb61c..32a6df72717974e34c72cff8d4e48c3e7b15868f 100644 (file)
@@ -146,8 +146,7 @@ StScrollBar {
   -slider-handle-radius: 8px;
   -slider-handle-border-width: 1px;
   -slider-handle-border-color: $borders_color;
-  color: $bg_color; /* FIXME to match gtk, we'd need to style the border of the slider, not
-     the whole widget */
+  color: if($variant == 'light', lighten($bg_color, 10%), darken($bg_color,4%));
   &:hover { color: $_hover_bg_color; }
   &:active { color: $_active_bg_color; }
 }